#if !defined(AFX_DLGONEUNITREPORTBAR_H__02ADDE57_90A6_43FC_AE37_C87032948362__INCLUDED_)
#define AFX_DLGONEUNITREPORTBAR_H__02ADDE57_90A6_43FC_AE37_C87032948362__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "..\..\Inc\Center\tabsheet.h"
#include "..\..\Inc\Center\Public.h"
#include "DlgEditSteel.h"
#include "DlgSteelWeight.h"

/////////////////////////////////////////////////////////////////////////////
// CDlgBarUnitSteel dialog

class CDlgBarUnitSteel : public CDialog
{
private:
	BOOL				m_bInit ;
	CDlgEditSteel*		m_DlgEditSteel ;
	CDlgSteelWeight*    m_pDlgSteelWeight;    
public:
	CDlgBarUnitSteel(CWnd* pParent = NULL);   // standard constructor
	enum { IDD = IDD_Dlg_Bar_UnitSteel };
	CTabSheet	m_TabSheet;
	void        InitSteelList(){m_DlgEditSteel->InitSteelList();};
	void        SelectTab(int nItem){m_TabSheet.SetCurSel(nItem);};
	void		EnableEditDrawUnitSteel(int nMapID,int nUnitID){m_DlgEditSteel->EnableEditDrawUnitSteel(nMapID,nUnitID);};
	void		DisableEditSteel(){m_DlgEditSteel->DisableEditSteel();};
	void        CancelEditSteel(CANCEL_INFO* pNode){m_DlgEditSteel->Cancel(pNode);};
	void        RedoEditSteel(CANCEL_INFO* pNode){m_DlgEditSteel->Redo(pNode);};
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();
protected:


	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnDestroy();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DLGONEUNITREPORTBAR_H__02ADDE57_90A6_43FC_AE37_C87032948362__INCLUDED_)
